package com.un.ebs.purchase.domain;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.*;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;
import lombok.Data;
import com.un.ebs.core.metadata.DbField;

/**
 * (PurchaseInNoteToFinance)表实体类
 *
 * @author liubo
 * @since 2020-09-24 16:55:10
 */
@Data
@Component
@TableName("v_purchase_in_note_to_finance")
@SuppressWarnings("serial")
public class PurchaseInNoteToFinance extends Model<PurchaseInNoteToFinance> {


    @DbField(name = "note_id", length = 40, precision = 0)
    private String noteId;

    @DbField(name = "note_code", length = 100, precision = 0)
    private String noteCode;

    @DbField(name = "order_code", length = 100, precision = 0)
    private String orderCode;

    @DbField(name = "contract_code", length = 100, precision = 0)
    private String contractCode;

    @DbField(name = "supplier_ent_id", length = 40, precision = 0)
    private String supplierEntId;

    @DbField(name = "supplier_ent_code", length = -1, precision = 0)
    private Integer supplierEntCode;

    @DbField(name = "supplier_ent_name", length = 100, precision = 0)
    private String supplierEntName;

    @DbField(name = "account_year", length = -1, precision = 0)
    private Integer accountYear;

    @DbField(name = "account_month", length = -1, precision = 0)
    private Integer accountMonth;

    @DbField(name = "audit_time", length = -1, precision = 0)
    private Date auditTime;

    @DbField(name = "order_price", length = 18, precision = 4)
    private Double orderPrice;

    @DbField(name = "finance_code", length = 20, precision = 0)
    private String financeCode;

    @DbField(name = "finance_send_time", length = -1, precision = 0)
    private Date financeSendTime;

    @DbField(name = "order_qty", length = 38, precision = 4)
    private Double orderQty;

    @DbField(name = "in_qty", length = 38, precision = 4)
    private Double inQty;

    @DbField(name = "in_money", length = 38, precision = 6)
    private Double inMoney;

    @DbField(name = "tenant_id", length = 40, precision = 0)
    private String tenantId;


}